package com.hn658.base.message.managermq.config.provider.db;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.hn658.base.message.appinfo.entity.AppMqConfigEO;
import com.hn658.base.message.appinfo.service.IAppMqService;
import com.hn658.base.message.managermq.config.provider.MqConfigProvider;

/**
 * 
 * MQ队列配置DB提供者
 * @author ztjie
 * @date 2015-11-19 下午3:22:26
 * @since
 * @version
 */
@Component
public class MqConfigDBProvider implements MqConfigProvider{
	
	@Autowired
	private IAppMqService appMqService;
	
	public List<AppMqConfigEO> queryConfig(){
		return appMqService.findMqAll();
	}
}
